Open Fiber Segmentation

Dragonfly 3D World includes an innovative segmentation tool for the automated extraction of individual fibers from datasets of short fiber reinforced composites. Based on the Open Fiber Segmentation algorithm developed by Facundo Sosa-Rey et al. (https://github.com/lm2-poly/OpenFiberSeg), the input is a region of interest of segmented fibers and the output is a multi-ROI in which each label is an instance of the segmented fibers. The method only requires minimal input — selection of the fiber parameters of minimum length, smoothing diameter, and maximum stitching distance, as well as the convexity check parameters — while the output allows for the analysis of the correlated length and orientation distribution of fibers.

Choose Workflows > Open Fiber Segmentation to open the Open Fiber Segmentation panel, shown below. The output is a multi-ROI in which each label is an instance of the segmented fibers.

Open Fiber Segmentation panel and segmented fibers

Open Fiber Segmentation panel and segmented fibers

The following parameters and settings are available for the instance segmentation of fibers.

Parameters for the instance segmentation of fibers
Parameter Description
Fiber parameters
Minimum fiber length (pixels) Is the minimum value of fiber length, in pixels, that the algorithm will accept as a fiber.
Fiber diameter (default unit) Is used mostly for representation, will smooth the fibers with the selected diameter value.
Max stitching distance (default unit) Is the maximum distance between two fibers that will be considered to stitch both fibers as one.
Post process all fibers

If checked, all fibers will go through the post processing algorithm for smoothing, gap filling.

Note Selecting to post-process all fibers can increase processing times significantly. In many cases, post-processing all fibers might not be necessary.

Convexity check parameters
Initial water level (pixels) Is the distance parameter to find all the convex regions using a 'cv.watershed' function.

Note If the initial water level is kept below 1.0, smaller regions will not be erased but spurious detections may occur. If the initial water level is above 1.0, then smaller regions will be erased but computation time will be faster.

Convexity defect distance (pixels) Is the distance parameter, which is defined as a convexity defect size to find regions that are not convex, to verify if two fibers are touching.
Preview 3D fiber extraction
Preview (number of slices in X) Will compute the specified number of slices in X as a preview.
Refer to the publication Facundo Sosa-Rey et al. OpenFiberSeg: Open-source segmentation of individual fibers and porosity. Composites Science and Technology, Volume 226, 2022, 109497, ISSN 0266-3538. DOI: https://doi.org/10.1016/j.compscitech.2022.109497.